import Layout from '@/views/layout/Layout'

/**
 * @author qun.xu
 * @desc   系统管理路由
 */
const errorRouter = {
  path: '/error', component: Layout,  redirect: '/error/401',
    hidden:true,
  children: [
    {
      path: '401',
      component: () => import('@/views/errorPage/401'),
      name: 'error-401',
      meta: { title: 'page404', noCache: true }
    },
    {
        path: '404',
        component: () => import('@/views/errorPage/404'),
        name: 'error-404',
        meta: { title: 'page404', noCache: true }
    }
  ]
}
export default errorRouter
